package com.csxh.service;

import static org.junit.Assert.fail;

import org.junit.Assert;
import org.junit.Test;

import com.csxh.bean.User;

public class QueryServiceTest {

	@Test
	public void testAll() {
		
		User u=new User();
		u.setUsername("xxx");
		QueryService service=new QueryService();
		u=service.from(u).one(u.getClass());
		System.out.println(u);
		Assert.assertNotNull(u);
	}

	@Test
	public void testOne() {
		fail("Not yet implemented");
	}

}
